package cn.wyl.system.service.impl;

import cn.wyl.basic.service.impl.BaseServiceImpl;
import cn.wyl.system.domain.Dictionarydetail;
import cn.wyl.system.mapper.DictionarydetailMapper;
import cn.wyl.system.service.IDictionarydetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictionarydetailServiceImpl extends BaseServiceImpl<Dictionarydetail> implements IDictionarydetailService {

    @Autowired
    private DictionarydetailMapper dictionarydetailMapper;

    @Override
    public List<Dictionarydetail> findByTypeId(Long types_id) {
        System.out.println(dictionarydetailMapper.findByTypeId(types_id));
        return dictionarydetailMapper.findByTypeId(types_id);
    }
}
